package com.ruoyi.estate.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业主对象 owner_info
 * 
 * @author 博雅
 * @date 2023-12-12
 */
public class OwnerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 业主编号 */
    @Excel(name = "业主编号")
    private Long ownerId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String ownerName;

    /** 手机 */
    @Excel(name = "手机")
    private String ownerPhone;

    /** 身份证 */
    @Excel(name = "身份证")
    private String ownerCardno;

    /** 性别 */
    @Excel(name = "性别")
    private String ownerSex;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String ownerAddress;

    /** 头像 */
    @Excel(name = "头像")
    private String ownerPic;

    /** 门禁钥匙 */
    @Excel(name = "门禁钥匙")
    private String accessKey;

    /** 是否有效 1、有效 0、无效 */
    private Long enable;

    public void setOwnerId(Long ownerId) 
    {
        this.ownerId = ownerId;
    }

    public Long getOwnerId() 
    {
        return ownerId;
    }
    public void setOwnerName(String ownerName) 
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName() 
    {
        return ownerName;
    }
    public void setOwnerPhone(String ownerPhone) 
    {
        this.ownerPhone = ownerPhone;
    }

    public String getOwnerPhone() 
    {
        return ownerPhone;
    }
    public void setOwnerCardno(String ownerCardno) 
    {
        this.ownerCardno = ownerCardno;
    }

    public String getOwnerCardno() 
    {
        return ownerCardno;
    }
    public void setOwnerSex(String ownerSex) 
    {
        this.ownerSex = ownerSex;
    }

    public String getOwnerSex() 
    {
        return ownerSex;
    }
    public void setOwnerAddress(String ownerAddress) 
    {
        this.ownerAddress = ownerAddress;
    }

    public String getOwnerAddress() 
    {
        return ownerAddress;
    }
    public void setOwnerPic(String ownerPic) 
    {
        this.ownerPic = ownerPic;
    }

    public String getOwnerPic() 
    {
        return ownerPic;
    }
    public void setAccessKey(String accessKey) 
    {
        this.accessKey = accessKey;
    }

    public String getAccessKey() 
    {
        return accessKey;
    }
    public void setEnable(Long enable) 
    {
        this.enable = enable;
    }

    public Long getEnable() 
    {
        return enable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ownerId", getOwnerId())
            .append("ownerName", getOwnerName())
            .append("ownerPhone", getOwnerPhone())
            .append("ownerCardno", getOwnerCardno())
            .append("ownerSex", getOwnerSex())
            .append("ownerAddress", getOwnerAddress())
            .append("ownerPic", getOwnerPic())
            .append("accessKey", getAccessKey())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("enable", getEnable())
            .toString();
    }
}
